package jin.chen.mapper;

import jin.chen.my.mapper.MyMapper;
import jin.chen.pojo.Items;
import jin.chen.pojo.vo.ItemCommentVO;
import jin.chen.pojo.vo.SearchItemsVO;
import jin.chen.pojo.vo.ShopCatVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
@Mapper
public interface ItemsMapperCustom extends MyMapper<Items> {

    public List<ItemCommentVO> queryItemComments(@Param("paramsMap") Map<String, Object> map);

    public List<SearchItemsVO> searchItems(@Param("paramsMap") Map<String, Object> map);

    public List<SearchItemsVO> searchItemsByCatId(@Param("paramsMap") Map<String, Object> map);

    public List<ShopCatVO> queryItemsBySpecIds(@Param("paramsList") List specIdList);


}